<?php
require_once('../smarty_admin.php');

$form = new Form_Thongtin();
$catalog_id = $_GET['catalog_id'];
if (isset($_POST['Add']))
{
	$form->process($_REQUEST);
	
	if (!$form->hasError()) 
		{
		header("Location: thongtin.php?catalog_id=$catalog_id");
			
		}


}
$smarty->assign('form',$form);
$smarty->display('thongtin/add.tpl');
?>